package com.wuxiaofan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.sql.Blob;
import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * AT transaction mode undo table
 * </p>
 *
 */
@Data
@TableName("undo_log")
public class UndoLog extends Model<UndoLog> {

    private static final long serialVersionUID = 1L;

     /**
      increment id
      */
      private  Long  id;
     /**
      branch transaction id
      */
      private  Long  branchId;
     /**
      global transaction id
      */
      private  String  xid;
     /**
      undo_log context,such as serialization
      */
      private  String  context;
     /**
      rollback info
      */
      private Blob rollbackInfo;
     /**
      0:normal status,1:defense status
      */
      private  Integer  logStatus;
     /**
      create datetime
      */
      private  Date  logCreated;
     /**
      modify datetime
      */
      private  Date  logModified;


}